<!DOCTYPE html>
<html>
  <head>
    <title>Demo - Merchant</title>
  </head>
  <body>
    <ul id="msglist"></ul>
    <script src="/socket.io/socket.io.js"></script>
    <script src="/javascripts/jquery.min.js"></script>
    <script>
      var socket = io();
      socket.on('newCustomerOrderToFrontEnd', function(msg) {
        $('#msglist').append($('<li>').text(msg));
      });
    </script>
  </body>
</html>
